package com.devops.admin.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * @ClassNem DOSProjectApplyAuthorize
 * @Description TODO
 * @Author heyabo
 * @Date 2022/3/21 17:43
 * @Version 1.0
 **/
@Data
@TableName("dos_project_apply_authorize")
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder(toBuilder = true)
public class DOSProjectApplyAuthorize extends DOSModel{

    /**
     * 项目id
     **/
    @TableField("project_id")
    private Integer projectId;
    /**
     * 项目 '1-申请 2-通过 3-拒绝'
     **/
    @TableField("authorize_status")
    private Integer authorizeStatus;
    /**
     * 备注，当被拒绝时需要填写备注
     **/
    @TableField("remark")
    private String remark;
    /**
     * 集群id
     **/
    @TableField("cluster_id")
    private Integer clusterId;
    /**
     * 命名空间id
     **/
    @TableField("namespace_id")
    private Integer namespaceId;
    /**
     * 申请人id
     **/
    @TableField("apply_user_id")
    private String applyUserId;
    /**
     * 操作人id
     **/
    @TableField("operate_user_id")
    private String operateUserId;
}
